package com.accompany.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 大神表
 * </p>
 *
 * @author DC
 * @since 2024-12-26
 */
@Data
@Schema(name = "Masters对象", description = "大神表")
public class Master implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(name = "userId", description = "关联用户ID")
    private Long userId;

    @Schema(name = "gameId", description = "关联游戏ID")
    private Long gameId;

    @Schema(name = "hourlyRate", description = "时薪")
    private BigDecimal hourlyRate;

    @Schema(name = "introduction", description = "个人介绍")
    private String introduction;

    @Schema(name = "totalOrders", description = "总接单数")
    private Integer totalOrders;

    @Schema(name = "totalHours", description = "总服务时长(小时)")
    private Integer totalHours;

    @Schema(name = "rating", description = "评分")
    private BigDecimal rating;

    @Schema(name = "onlineStatus", description = "在线状态 0:离线 1:在线")
    private Byte onlineStatus;

    @Schema(name = "verifyStatus", description = "认证状态 0:未认证 1:认证中 2:已认证 3:认证失败")
    private Byte verifyStatus;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
